let path = require('path')


var attress = '/user/lwt'
var filename = 'abc.js'
var pathFile1 = path.resolve(attress,filename); //  D:\user\lwt\abc.js
var pathFile11 = path.resolve(__dirname,'abc.js'); //  D:\user\lwt\abc.js
var pathFile2 = path.join(attress,filename); //  \user\lwt\abc.js
console.log(pathFile1); 
console.log(pathFile11); 
console.log(pathFile2); 

 